home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre2.z / postgre2 / doc / implementation / executor / Makefile < prev    next >
Encoding:
Makefile  |  1992-08-27  |  539 b   |  36 lines

  1. #
  2. #    Makefile for ChinHeng's masters report
  3. #
  4. #    We have to use ditroff to use grn.
  5. #
  6.  
  7. PSFLAGS=-Tpsc
  8. IMAGEN=    lw
  9. PS=    lw
  10. GRN=    /usr/local/grn
  11. grn=    $(GRN) -P$(IMAGEN)
  12. TROFF=    /usr/local/ditroff
  13. troff=    $(TROFF) -P$(IMAGEN)
  14.  
  15. SRCS=    Report.grn
  16.  
  17. report:
  18.     @$(grn) $(SRCS) | \
  19.     $(troff) -me -t | \
  20.     psdit > Report.$(IMAGEN)
  21.  
  22. print: 
  23.     @lpr -P$(PS) Report.$(IMAGEN)
  24.  
  25. psreport:
  26.     cat $(SRCS) | \
  27.     $(grn) $(PSFLAGS) | \
  28.     $(troff) $(PSFLAGS) -me -t | \
  29.     psdit > Report.$(PS)
  30.  
  31. psprint: 
  32.     @lpr -P$(PS) Report.$(PS)
  33.  
  34. clean:
  35.     @rm -f Report.$(IMAGEN) Report.$(PS)
  36.